package com.yehongyu.mytools.basic.util.datetime;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;

public class Timeformat {

	public Timeformat() {

	}

	public static String getChineseFormatTime() {
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		return sdf.format(new Date());
	}

	public static String getSimpleFormatTime() {
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy年MM月dd日HH小时mm分ss秒",
				Locale.US);
		return sdf.format(new Date());
	}
}